<template>
	<view class="view-fiex">
		<mo-tabs-swiper></mo-tabs-swiper>
	</view>
</template>

<script>
	// import moTabsSwiper from '@/components/mo-tabs-swiper/mo-tabs-swiper.vue'
	import { mapActions, mapState } from 'vuex'
	export default {
		components: {
			// moTabsSwiper
		},
		data() {
			return {
				list: null
			}
		},
		computed:{
			...mapState('novel', ['userInfo']),
		},
		onLoad(){
			this.getStatistics()
		},
		methods: {
			...mapActions('novel',['getStatistics']),
			onClick(time){
				console.log('跳转',time)
			},
		}
	}
</script>

<style lang="scss" scoped>
	.view-fiex{
		display: flex;
		flex-direction: column;
		width: 100%;
		height: calc(100vh - constant(safe-area-inset-bottom));
		height: calc(100vh - env(safe-area-inset-bottom));
		/* #ifndef MP-WEIXIN */
		height: calc(100vh - 44px - constant(safe-area-inset-bottom));
		height: calc(100vh - 44px - env(safe-area-inset-bottom));
		/*  #endif  */
		mo-tabs-swiper{
			flex: 1;
		}
	}
</style>
